package pers.zff.web.service;

import java.util.Date;
import java.util.Map;

import pers.zff.web.common.MessageInfo;
import pers.zff.web.po.UserPo;

public interface UserService {
	UserPo userLogin(UserPo userpo);

	int userRegister(UserPo userpo);

	int saveUserInfoByUpdatePwd(Long userId, UserPo userpo, int randomNum, Date lastSendRandomTime);

	UserPo fetchUserPoByName(String userName);

	int updatePwd(Long userId, UserPo userpo);

	MessageInfo sendEmail(Map<String, Object> map, Date lastSendRandomTime, UserPo userpo, MessageInfo messageInfo);
}
